<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=modified_on' ) %>">新着順</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=modified_on_rev' ) %>">旧着順</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=unread_count' ) %>">未読多</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=unread_count_rev' ) %>">未読小</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=subscribers_count' ) %>">読者多</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=subscribers_count_rev' ) %>">読者少</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=rate' ) %>">レート</a> 
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=0', 'skey=title' ) %>">タイトル</a> 
<hr>
<%= "<table border=1><tr>" if $DEBUG %>

<% ary.each do |item| %>
<li class="xfolkentry"><a class="taggedlink" href="<%= url(@SCR[:view], "subscribe_id=" +item["subscribe_id"].to_s) %>">
<%= item["title"].to_s %>(<%=item["unread_count"].to_s %>)</a>
<%= 
if $DEBUG
  '<td>' +
  Time.at(item['modified_on']).strftime("%Y/%m/%d %H:%M") +
  '<td>' +
  'rate:' + item['rate'].to_s +
  '<td>' +
  'subscribers_count:' + item['subscribers_count'].to_s +
  '<td>' +
  'unread:' + item['unread_count'].to_s +
  '</tr>'
end
%>

<% end %>
<br>
<% if page_count > 1
  0.upto(page_count -1) do |i| 
    unless page.to_i == i %>
<a href="<%= url(@SCR[:list], '&key=' + key + '&type=' + type + '&value=' + value + '&page=' + i.to_s + '&skey=' + skey.to_s) %>"><%= i %></a>
<% else %>
<%= i %>
<% end %>
<% end %>
<% end %>

<%= "</table>" if $DEBUG %>
